package com.momo.mapper.mapper.sysSetting;

import com.momo.mapper.dataobject.UserDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Kagome on 2019/4/20.
 */
public interface UserMapper {

    List<UserDO> userPage(UserDO userDO);

    int insertSelective(UserDO userDO);

    int updateByPrimaryKeySelective(UserDO userDO);

    /**
     * 校验用户信息
     *
     * @param sysUserEmail
     * @param sysUserPhone
     * @param sysUserLoginName
     * @param id
     * @return
     */
    int checkInfo(@Param("sysUserEmail") String sysUserEmail, @Param("sysUserPhone") String sysUserPhone, @Param("sysUserLoginName") String sysUserLoginName, @Param("id") Long id);

}
